package com.grao.waterschool.human.common;

import com.fasterxml.jackson.annotation.JsonValue;

/**
 * @author limk
 */
public enum LogonType {

    /**
     * 登录
     */
    LOGIN("登录"),

    /**
     * 退出
     */
    LOGOUT("退出");

    private final String value;

    LogonType(final String value) {
        this.value = value;
    }

    @JsonValue
    public String getValue() {
        return this.value;
    }
}
